import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/Login/login'
import createques from '@/components/CreateQues/question'
import quesTemplate from '@/components/CreateQues/quesTemplate'
import quesEdit from '@/components/CreateQues/quesEdit'
import quesAdmin from '@/components/CreateQues/quesAdmin'
import myques from '@/components/MyQues/myques'
import statques from '@/components/StatQues/statques'
import jurisdiction from '@/components/JurisDiction/jurisdiction'

Vue.use(Router)

export default new Router({
	linkActiveClass:'active',
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },{
    	path: '/createques',
    	name: 'createques',
    	component: createques
    },{
    	path: '/quesTemplate',
    	name: 'quesTemplate',
    	component: quesTemplate
    },{
    	path: '/quesEdit',
    	name: 'quesEdit',
    	component: quesEdit
    },{
    	path: '/quesAdmin',
    	name: 'quesAdmin',
    	component: quesAdmin
    },{
    	path: '/myques',
    	name: 'myques',
    	component: myques
    },{
    	path: '/statques',
    	name: 'statques',
    	component: statques
    },{
    	path: '/jurisdiction',
    	name: 'jurisdiction',
    	component: jurisdiction
    }
  ]
})
